package com.zxt.service;

import com.zxt.domain.Cart;
import com.zxt.domain.Order;
import com.zxt.domain.OrderDetail;

import java.util.List;

public interface OrderService {

    void submitOrder(Order order, List<Cart> cartList);

    void updateState(String oid, int state);

    List<Order> find(Integer uid);

    Order findByOid(String oid);

    List<OrderDetail> findDetail(String oid);
}
